<template>
    <div style="height: 100%">
        <div style="height: 100%">
          <router-view></router-view>
        </div>
      <!--<yd-tabbar active-color="#E72A26"  style=" position: fixed;bottom: 0;width: 100%;">-->
        <!--<yd-tabbar-item title="首页" link="index">-->
          <!--<img slot="icon" :src="home" style="width: .46rem;height: .46rem;">-->
        <!--</yd-tabbar-item>-->
        <!--<yd-tabbar-item title="消息" link="message" >-->
          <!--<img slot="icon" :src="fav" style="width: .46rem;height: .36rem;">-->
          <!--<yd-badge slot="badge" type="danger" v-if="numCount > 0">{{numCount}}</yd-badge>-->
        <!--</yd-tabbar-item>-->
        <!--<yd-tabbar-item title="个人中心" link="mine">-->
          <!--<img slot="icon" :src="mine" style="width: .41rem;height: .46rem;">-->
        <!--</yd-tabbar-item>-->
      <!--</yd-tabbar>-->
    </div>
</template>

<script>
    // export default {
    //     name: "footerPage",
    //     data(){
    //       return{
          //   home:require('../assets/footer/home.png'),
          //   fav:require('../assets/footer/fav2.png'),
          //   mine:require('../assets/footer/mine2.png'),
          //   numCount:'',
          // }
        // },
        // watch:{
          // $route(to,from){
          //
          //   this.$ajax.post(window.g.apiUrl+'/account/getNewsUnreadCount.do')
          //     .then((response)=>{
          //       if(response.data.code == 200){
          //         this.numCount = response.data.result.total;
          //       }
          //     }).catch(()=>{
          //   })
          //
          //   let path = to.path;
          //   switch(path)
          //   {
          //     case '/index':
          //       this.home = require('../assets/footer/home.png');
          //       this.fav =  require('../assets/footer/fav2.png');
          //       this.mine = require('../assets/footer/mine2.png');
          //       break;
          //     case '/message':
          //       this.home = require('../assets/footer/home2.png');
          //       this.fav =  require('../assets/footer/fav.png');
          //       this.mine = require('../assets/footer/mine2.png');
          //       break;
          //     case '/mine':
          //       this.home = require('../assets/footer/home2.png');
          //       this.fav =  require('../assets/footer/fav2.png');
          //       this.mine = require('../assets/footer/mine.png');
          //       break;
          //   }
          // }
        // },
        // mounted(){
          // this.homeImg = '../assets/footer/home.png'
          //   let path = this.$route.path;
          //   switch(path)
          //   {
          //     case '/index':
          //       this.home = require('../assets/footer/home.png');
          //       this.fav =  require('../assets/footer/fav2.png');
          //       this.mine = require('../assets/footer/mine2.png');
          //       break;
          //    case '/message':
          //      this.home = require('../assets/footer/home2.png');
          //      this.fav =  require('../assets/footer/fav.png');
          //      this.mine = require('../assets/footer/mine2.png');
          //      break;
          //     case '/mine':
          //       this.home = require('../assets/footer/home2.png');
          //       this.fav =  require('../assets/footer/fav2.png');
          //       this.mine = require('../assets/footer/mine.png');
          //       break;
          //   }
        // },
      // created(){
        // const that = this;
        // that.$ajax.post(window.g.apiUrl+'/account/getNewsUnreadCount.do')
        //   .then((response)=>{
        //     if(response.data.code == 200){
        //       that.numCount = response.data.result.total;
        //     }
        //   }).catch(()=>{
        // })
      // },
    // }
</script>

<style scoped>
  /*footer img{*/
    /*width: .6rem;*/
    /*height: .6rem;*/
  /*}*/
  /*footer div{*/
    /*display: flex;*/
    /*flex-flow: column;*/
    /*align-items: center;*/
  /*}*/
</style>
